package org.ds.biz.user;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

@Entity
@DiscriminatorValue("money")
public class MoneyTransaction extends AccountTransaction
{
	@Column (name = "is_deposit")
	private boolean isDeposit = false;
	
	@Column (name = "money_amount")
	private Double moneyAmount = 0.0;
	
	public MoneyTransaction()
	{
		super("money");
	}

	public boolean isDeposit()
	{
		return isDeposit;
	}

	public void setDeposit(boolean isDeposit)
	{
		this.isDeposit = isDeposit;
	}

	public Double getMoneyAmount()
	{
		return moneyAmount;
	}

	public void setMoneyAmount(Double moneyAmount)
	{
		this.moneyAmount = moneyAmount;
	}
}
